-
Notifications
You must be signed in to change notification settings - Fork 26.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Dubbo-3669]do local export before register any listener. #3685
[Dubbo-3669]do local export before register any listener. #3685
Conversation
Codecov Report
@@ Coverage Diff @@
## master #3685 +/- ##
============================================
- Coverage 63.44% 62.97% -0.47%
- Complexity 71 543 +472
============================================
Files 703 756 +53
Lines 31000 32581 +1581
Branches 5024 5164 +140
============================================
+ Hits 19669 20519 +850
- Misses 9066 9706 +640
- Partials 2265 2356 +91
Continue to review full report at Codecov.
|
Can you please describe what is the root cause of this exception? This will help the reviewers to understand how you fix it. |
...dubbo-registry-api/src/main/java/org/apache/dubbo/registry/integration/RegistryProtocol.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you change the logic in org.apache.dubbo.registry.integration.AbstractConfiguratorListener#process
as well since they are duplicate?
Good point, I will fix it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks good to me.
What is the purpose of the change
Fixes #3669
Brief changelog
RegistryProtocol.export()
Verifying this change
XXXXX
Follow this checklist to help us incorporate your contribution quickly and easily:
[Dubbo-XXX] Fix UnknownException when host config not exist #XXX
. Each commit in the pull request should have a meaningful subject line and body.mvn clean install -DskipTests=false
&mvn clean test-compile failsafe:integration-test
to make sure unit-test and integration-test pass.